package cn.com.miao.lynx.plugin.sms.service;

import cn.com.miao.lynx.common.core.excpetion.LynxException;
import cn.com.miao.lynx.plugin.sms.model.SmsRequest;
import cn.com.miao.lynx.plugin.sms.model.SmsResponse;

/**
 * SmsService
 *
 * @title: SmsService
 * @description:
 * @author: dengmiao
 * @create: 2020-01-10 11:07
 **/
public interface SmsService {

    /**
     * 发送短信
     * @param request 请求对象
     * @return 发送短信响应
     * @throws LynxException 异常信息
     */
    SmsResponse send(SmsRequest request) throws LynxException;
}
